//
//  CLDiscoverTableViewController.swift
//  CLWeibo
//
//  Created by 陈亮 on 16/7/9.
//  Copyright © 2016年 陈亮. All rights reserved.
//

import UIKit

class CLDiscoverTableViewController: CLVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if isLogin {
            
        }else {
            visitorView?.updateVisitorInfo("登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过" , imageName: "visitordiscover_image_message" )
        }
        setUpUI()
    }
    
    private func setUpUI(){
        
        let searchView = CLDiscoverView.searchView()
        searchView.width = self.view.width
        navigationItem.titleView = searchView
        tabBarItem.badgeValue = "叽叽"
        
    }
}

